#include "Utility.h"

std::vector<std::string> Utility::GetTiXmlElementAttributes(TiXmlElement* ele)
{
	std::vector<std::string> vattr;
	if (ele != nullptr) {
		TiXmlAttribute* attr = ele->FirstAttribute();
		while (attr != nullptr) {
			vattr.push_back(attr->Name());
			attr = attr->Next();
		}
	}
	return vattr;
}
